package com.shop.cereshop.app.service.activity;

import com.shop.cereshop.app.page.product.ProductCoupon;
import com.shop.cereshop.app.param.canvas.CanvasCouponParam;
import com.shop.cereshop.commons.domain.buyer.CereBuyerUser;
import com.shop.cereshop.commons.domain.common.Page;
import com.shop.cereshop.commons.exception.CoBusinessException;

import java.util.List;

public interface CerePlatformActivityService {
    public Page getCoupons(CanvasCouponParam param, CereBuyerUser user) throws CoBusinessException;

    List<ProductCoupon> findCouponByProductId(Long productId);

    List<ProductCoupon> findCouponByProductIdAndUserId(Long buyerUserId, Long productId);
}
